-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x))))
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x)))
↳ QTRS
↳ AAECC Innermost
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x))))
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x))))
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x))))
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x)))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), x1)
f(x0, s(x1))
-1(s(x), s(y)) → -1(x, y)
F(x, s(y)) → P(-(s(y), x))
F(x, s(y)) → P(-(x, s(y)))
F(x, s(y)) → F(p(-(x, s(y))), p(-(s(y), x)))
F(s(x), y) → -1(y, s(x))
F(s(x), y) → -1(s(x), y)
F(x, s(y)) → -1(s(y), x)
F(x, s(y)) → -1(x, s(y))
F(s(x), y) → F(p(-(s(x), y)), p(-(y, s(x))))
F(s(x), y) → P(-(y, s(x)))
F(s(x), y) → P(-(s(x), y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x))))
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x)))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), x1)
f(x0, s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
-1(s(x), s(y)) → -1(x, y)
F(x, s(y)) → P(-(s(y), x))
F(x, s(y)) → P(-(x, s(y)))
F(x, s(y)) → F(p(-(x, s(y))), p(-(s(y), x)))
F(s(x), y) → -1(y, s(x))
F(s(x), y) → -1(s(x), y)
F(x, s(y)) → -1(s(y), x)
F(x, s(y)) → -1(x, s(y))
F(s(x), y) → F(p(-(s(x), y)), p(-(y, s(x))))
F(s(x), y) → P(-(y, s(x)))
F(s(x), y) → P(-(s(x), y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x))))
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x)))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), x1)
f(x0, s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
-1(s(x), s(y)) → -1(x, y)
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x))))
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x)))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), x1)
f(x0, s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
-1(s(x), s(y)) → -1(x, y)
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), x1)
f(x0, s(x1))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), x1)
f(x0, s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
-1(s(x), s(y)) → -1(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
F(x, s(y)) → F(p(-(x, s(y))), p(-(s(y), x)))
F(s(x), y) → F(p(-(s(x), y)), p(-(y, s(x))))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x))))
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x)))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), x1)
f(x0, s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
F(x, s(y)) → F(p(-(x, s(y))), p(-(s(y), x)))
F(s(x), y) → F(p(-(s(x), y)), p(-(y, s(x))))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), x1)
f(x0, s(x1))
f(s(x0), x1)
f(x0, s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
F(x, s(y)) → F(p(-(x, s(y))), p(-(s(y), x)))
F(s(x), y) → F(p(-(s(x), y)), p(-(y, s(x))))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
F(s(x1), s(x0)) → F(p(-(s(x1), s(x0))), p(-(x0, x1)))
F(0, s(y1)) → F(p(-(0, s(y1))), p(s(y1)))
F(s(x0), s(x1)) → F(p(-(x0, x1)), p(-(s(x1), s(x0))))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
F(s(x0), s(x1)) → F(p(-(x0, x1)), p(-(s(x1), s(x0))))
F(s(x1), s(x0)) → F(p(-(s(x1), s(x0))), p(-(x0, x1)))
F(s(x), y) → F(p(-(s(x), y)), p(-(y, s(x))))
F(0, s(y1)) → F(p(-(0, s(y1))), p(s(y1)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
F(s(x0), s(x1)) → F(p(-(x0, x1)), p(-(s(x1), s(x0))))
F(s(x1), s(x0)) → F(p(-(s(x1), s(x0))), p(-(x0, x1)))
F(s(x), y) → F(p(-(s(x), y)), p(-(y, s(x))))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
F(s(x1), s(x0)) → F(p(-(x1, x0)), p(-(x0, x1)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
F(s(x0), s(x1)) → F(p(-(x0, x1)), p(-(s(x1), s(x0))))
F(s(x), y) → F(p(-(s(x), y)), p(-(y, s(x))))
F(s(x1), s(x0)) → F(p(-(x1, x0)), p(-(x0, x1)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
F(s(x0), s(x1)) → F(p(-(x0, x1)), p(-(x1, x0)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
F(s(x), y) → F(p(-(s(x), y)), p(-(y, s(x))))
F(s(x1), s(x0)) → F(p(-(x1, x0)), p(-(x0, x1)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
F(s(x0), s(x1)) → F(p(-(x0, x1)), p(-(s(x1), s(x0))))
F(s(y0), 0) → F(p(s(y0)), p(-(0, s(y0))))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
F(s(x0), s(x1)) → F(p(-(x0, x1)), p(-(s(x1), s(x0))))
F(s(x1), s(x0)) → F(p(-(x1, x0)), p(-(x0, x1)))
F(s(y0), 0) → F(p(s(y0)), p(-(0, s(y0))))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
F(s(x0), s(x1)) → F(p(-(x0, x1)), p(-(s(x1), s(x0))))
F(s(x1), s(x0)) → F(p(-(x1, x0)), p(-(x0, x1)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
F(s(x0), s(x1)) → F(p(-(x0, x1)), p(-(x1, x0)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesReductionPairsProof
F(s(x1), s(x0)) → F(p(-(x1, x0)), p(-(x0, x1)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
The following rules are removed from R:
F(s(x1), s(x0)) → F(p(-(x1, x0)), p(-(x0, x1)))
Used ordering: POLO with Polynomial interpretation [25]:
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
POL(-(x1, x2)) = x1 + x2
POL(0) = 0
POL(F(x1, x2)) = 2·x1 + 2·x2
POL(p(x1)) = 1 + x1
POL(s(x1)) = 2 + 2·x1
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ PisEmptyProof
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))